home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 February / EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso / earcd / util1 / su.rea < prev    next >
Text File  |  1996-01-16  |  1KB  |  36 lines

  1. Short:    Su command for muFS (spawns off new shell also).
  2. Author:   Chris Mc Carthy (cmccarth@icl.rtc-cork.ie)
  3. Uploader: cmccarth@icl.rtc-cork.ie
  4. Type:     util/cli
  5.  
  6.  
  7.  
  8.                 Substitute User (for muFS).
  9.          ----------------------------------------------
  10.  
  11.    Program to do the equivilant of the *IX su command (Substitute User)
  12. for the MultiUserFileSystem.
  13.  
  14.    If 1 argument is given (the userid), an attempt will be made to create
  15. a new shell under the new userid's uid. If the argument is the userid
  16. "root" (the superuser), or if there are no arguments given (in which case
  17. it defaults to "root"), the su program will check to see if the current
  18. user is a member of the group root (either primary or secondary).
  19.    If the user is not in the group root, the program will return
  20. unsuccessfully.
  21.    Next the password of the new user is requested, if the password matches
  22. the password of the supplied userid, then a new shell is spawned with the
  23. new user's uid, and the su program returns, and so does not wait for the
  24. other shell to return.
  25.    Failed/Successfull attempts at su may/may not be logged in the
  26. multiuser.log file. This is handled my the multiuser.server, so it depends
  27. on your config file.
  28.    NOTE: The super-user (root) does not need a password to su to any other
  29. user.
  30.  
  31.    To install, just copy the binary "su" to somewhere in your command
  32. path, e.g. c:
  33.  
  34.  
  35. This program requires MultiUser, © Copyright 1993-1994 by Geert Uytterhoeven.
  36.